<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      div {
        background-color: rgba(255, 0, 0, 0.5);
      }
    </style>
  </head>

  <body>
    <canvas id="canvas1" width="1000" height="1000"> 文字不会显示 </canvas>
    <script src="./js/index.js"></script>
  </body>
</html>
